BlueCielo Meridian GCF/SharePoint 2012 SP1 Administrator's Guide | BlueCielo ECM Solutions

You are here: About configuring GCF/SharePoint > Specifying the SharePoint document library

Specifying the SharePoint document library

The SharePoint document library is specified by the site URL and document library name. The document library defines where to export documents to SharePoint. The document library can be specified when a SharePoint site is enlisted for a document using the user-definable VBScript function WebPortalLocation. The function should return a two-dimensional array that contains a document library name.

This function is called in two scenarios:

  1. When a user explicitly enlists a SharePoint site from the Collaboration page in PowerUser.
  2. When a SharePoint site is automatically enlisted in script by the function EnlistTheSite.

An example of implementing this method is a GCF share named ContractorPortal that replicates with a SharePoint site at http://gcf-sp:45953/sites/ContractorPortal/ that has subsites for each contractor. When a project copy of a document is made in the vault, it should automatically enlist the document to the ContractorPortal share for replication to the contractor's sub-site into a document library named Shared Documents.

Following is an example of the implementation.

  1. After a project copy of a document is made (for example, in the DocCopyMoveEvent_AfterCopy event), call the EnlistTheSite function:
Call EnlistTheSite("ContractorPortal",True,True)

  1. Define the WebPortalLocation function:
Function WebPortalLocation(ShareName)
  Dim rv(1)
  If Instr(1,ShareName,"Portal") > 0 Then
    rv(0) = "http://gcf-sp:45953/sites/ContractorPortal/" & _
    Document.Contract_ContractorName
    rv(1) = "Shared Documents"
  End If
  WebPortalLocation = rv
End Function

In this example, the value of the Document.Contract_ContractorName property is the contractor’s name.

Related concepts

Configuring GCF SharePoint

Configuring the Meridian Enterprise processors

Related tasks

Specifying the path for imported documents

Automatically enlisting a SharePoint site

Configuring collaborating sites

Configuring the import and export processors

Mapping SharePoint columns to Meridian Enterprise properties

Mapping SharePoint content types to Meridian Enterprise document types


Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com